<div class="subhead">Chapters under <?php echo $subjectdetails->name;?></div>
<div class="bodywrap">
	<div class="orgnisation">
    	<ul>
    	

<?php 
if (isset($chapterList) && $chapterList)
{
	foreach ($chapterList as $chapter)
	{?>
	<li><a href="<?php echo ApplicationConfig::getURL('', 'site', 'viewChapter',array('chapter'=>$chapter->id))?>"><?php echo $chapter->name?></a></li>
	
		
	<?php }
	
}
else 
{?>
	<li><a>No Chapters available under this Subject</a></li>
	
<?php }
?>
         
    	</ul>
	</div>
    
</div>



